package dao.Product;

import java.util.List;

import model.Product;

public interface ProductDAO {
	public abstract boolean save(Product product);
	public abstract List<Product> getAllProducts();
	public abstract List<Product> getProductsByCategory(int categoryId);
	public abstract Long getTotalProducts();
	public abstract Long getTotalProductsByCategory(int categoryId);
	public abstract boolean update(Product product);
	public abstract boolean delete(Product product);
	public abstract Product getProductById(int productId);

}
